package com.smart.manager.system.entities.body;

import com.smart.common.entities.domain.Address;
import io.ebean.annotation.DbJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 机构表单
 *
 * @author Administrator
 * @date 2023/07/10
 */
public class RSystemOrgan {



    @Data
    @ApiModel("RSystemDept2")
    public static class EditBody implements Serializable {


        @ApiModelProperty("机构代码")
        private String code;

        @ApiModelProperty("机构名称")
        private String name;


        @ApiModelProperty("上级机构代码")
        private String parentCode;


        @ApiModelProperty("机构地址")
        @DbJson
        private Address address;


        @ApiModelProperty("显示排序")
        private Integer sort;


        @ApiModelProperty("机构电话")
        private String tel;


    }


}
